<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <script type="text/javascript" src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=YV4M7Hx1ehkoWliBMrLCbVkNYmoqx9GH"></script>
</head>
<style>
  * {
      padding: 0;
      margin: 0;
  }

  body {
      height: 80vh;
      width: 100vw;
  }

  #map {
      height: 100%;
      width: 100%;
  }
</style>
<body>
  <div id="map">
  </div>
  <button id="add">添加点</button>
  <button id="delete">删除点</button>
  <button id="drawPolyLine">绘制线</button>
  <button id="deletePolyLine">删除线</button>
  <button id="drawLabel">添加label</button>
  <button id="deleteLabel">删除label</button>
</body>
</html>
